﻿using DocumentFormat.OpenXml.Wordprocessing;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;

namespace ReceiptPrint.Dto
{
    [ExcelImporter(IsLabelingError = true)]
    public class CommodityDataDto
    {
        [ImporterHeader(Name = "配送单号")]
        public string DeliveryNumber { get; set; }

        [ImporterHeader(Name = "商品分类")]
        public string CommodityType { get; set; }

        [ImporterHeader(Name = "商品英文名称")]
        public string CommodityName { get; set; }

        [ImporterHeader(Name = "商品数量")]
        public decimal? CommodityNumber { get; set; }

        [ImporterHeader(Name = "商品价格")]
        public decimal? CommodityPrice { get; set; }

        [ImporterHeader(Name = "下单时间")]
        public string OrderTime { get; set; }
    }
}
